// 运行简单AI测试
import SimpleAITest from './simpleAITest'

export function runSimpleAITests() {
  console.log('🚀 启动简单AI测试套件...')
  
  const test = new SimpleAITest()
  test.runAllTests()
  
  console.log('✅ 简单AI测试完成')
}

// 如果直接运行此文件
if (typeof window !== 'undefined') {
  window.runSimpleAITests = runSimpleAITests
} else if (typeof GameGlobal !== 'undefined') {
  GameGlobal.runSimpleAITests = runSimpleAITests
}

// 自动运行测试（如果在浏览器环境中）
if (typeof window !== 'undefined' || typeof GameGlobal !== 'undefined') {
  setTimeout(() => {
    console.log('自动运行简单AI测试...')
    runSimpleAITests()
  }, 1000)
} 